package com.aboverock.module.system.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Param;

/**
 * The Interface ValidatorMapper.
 *
 * @author Rock Wang
 */
public interface ValidatorMapper {

    /**
     * 查询符合conditions条件（如果id不为空，排除该条数据）的数据数目.
     *
     * @param tableName the table name
     * @param conditions the conditions
     * @param id the id
     * @return the int
     */
    public int selectCount(@Param("tableName") String tableName,
            @Param("conditions") Map<String, Object> conditions, @Param("id") Object id);
}
